import Vue from 'vue'
import App from './App.vue'
import router from './router'
import axios from 'axios'

// 导入组件
import { Button,Swipe, SwipeItem,Tabbar, TabbarItem,NavBar,Form,Field } from 'vant';

//注册组件
Vue.use(Form);
Vue.use(Field);
Vue.use(NavBar);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Button);

Vue.config.productionTip = false
Vue.prototype.$axios = axios;

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
